using Light;
using Light.Assets.Scripts.EventManager;
using UnityEngine;

namespace Dream
{
    public class Ending : MonoBehaviour, IPlayerDetecedTrigger
    {
        public void Trigger()
        {
            using var evt = EnterEndingPanelEvent.Get();
            EventManager.SendEvent(evt);
        }
    }
}